﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Lib.Utility;
using Module.BusinessLogic;
using Module.EntitiesInfo;

namespace Web
{
    public partial class cauthuchitiet : System.Web.UI.Page
    {
       
        protected string Title;
        protected string Body;
        protected string CreatedOn;
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                int id = ConvertUtility.ToInt32(Request.QueryString["Id"]) == null ? 0 : ConvertUtility.ToInt32(Request.QueryString["Id"]);
                CMSFootballPlayerInfo info=new CMSFootballPlayerInfo();
                info = CMSFootballPlayer.GetInfoOutsite(id);
                if(info !=null)
                {
                    Title = info.FullName.ToString();
                    Body = info.Contents.ToString();
                    CreatedOn = Convert.ToDateTime(info.CreatedOn).ToString();
                }
            }
            catch (Exception)
            {
                              
            }
        }
    }
}